home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Applications 1996 May
/
SGI IRIX 6.2 Applications 1996 May.iso
/
dist
/
impr_dev.idb
/
usr
/
share
/
catman
/
u_man
/
cat1
/
testipr.z
/
testipr
Wrap
Text File
|
1996-05-06
|
10KB
|
199 lines
TTTTEEEESSSSTTTTIIIIPPPPRRRR((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo TTTTEEEESSSSTTTTIIIIPPPPRRRR((((1111))))
NNNNAAAAMMMMEEEE
testipr - test an Impressario printer
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
tttteeeessssttttiiiipppprrrr [----cccc aaaallllllll | className[,className,...]] [----tttt #[,#...]]
[----pppp classPath] [----llll logPathName] [----dddd] [----hhhh]
printerName
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_t_e_s_t_i_p_r tests an Impressario supported printer. When a printer is
supported by Impressario, it can print a wide range of file formats and
offers a large selection of printing options for each file format.
Testing each supported file format and each printing option is a daunting
task if done manually one test case at a time. The _t_e_s_t_i_p_r program
automates the testing process by printing a set of standard test files
according to a standard test plan.
_t_e_s_t_i_p_r is located in the directory /_u_s_r/_i_m_p_r_e_s_s_a_r_i_o/_t_e_s_t_s/_p_r_i_n_t.
Typically, the program is run from that directory. pppprrrriiiinnnntttteeeerrrrNNNNaaaammmmeeee is the
name of a printer installed on the system. It is recommended that the
printer be physically connected to the system on which _t_e_s_t_i_p_r is run.
During testing, the printer should not be used by other users. It is the
responsibility of the user to ensure that both of these test conditions
are satisfied.
On startup _t_e_s_t_i_p_r looks in the /_u_s_r/_i_m_p_r_e_s_s_a_r_i_o/_t_e_s_t_s/_p_r_i_n_t directory
for test configuration files. These files are identified by a ....iiiipppprrrr suffix
and a basename corresponding to the test class name. There are three
standard configuration files: _t_e_x_t._i_p_r, _i_m_a_g_e._i_p_r and _p_o_s_t_s_c_r_i_p_t._i_p_r.
These files comprise the text, image and postscript test classes
respectively. Each configuration file describes a set of tests to be run
by _t_e_s_t_i_p_r. These files should not be modified. If you wish to create
your own test cases, you can copy the existing configuration files to a
new location, modify them to suit your needs and use the ----pppp command line
option to tell _t_e_s_t_i_p_r where to find the files.
The format of the configuration file follows that of the X Window System
resource file. For example:
! This is a comment in an example .ipr file
test.basePath: /usr/impressario/data
test.1.file: testfile.sgi
test.1.options: -rotate 90 -gamma 3.5
test.1.desc: "SGI Image File - rotated 90, gamma 3.5"
test.2.file: testfile.sgi
test.2.options: -rotate 90 -gamma 3.5
test.2.desc: "SGI Image File - rotated 90, gamma 3.5"
PPPPaaaaggggeeee 1111
TTTTEEEESSSSTTTTIIIIPPPPRRRR((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo TTTTEEEESSSSTTTTIIIIPPPPRRRR((((1111))))
Each resource must start with the keyword tttteeeesssstttt. bbbbaaaasssseeeePPPPaaaatttthhhh is an optional
resource that specifies a directory path. If it is specified, the path
will be prepended to each ffffiiiilllleeee resource. The ffffiiiilllleeee resource specifies a
test file to print. Typically, these test files will come from
/_u_s_r/_i_m_p_r_e_s_s_a_r_i_o/_t_e_s_t/_d_a_t_a. The ooooppppttttiiiioooonnnnssss resource specifies the actual ----oooo
model file options to be used in the test. Note that the ----oooo should not be
specified. The _t_e_s_t_i_p_r program automatically prepends the nnnnoooobbbbaaaannnnnnnneeeerrrr option
to all option strings. The option string is passed as the argument to the
_l_p command's ----oooo option. The ddddeeeesssscccc resource provides a description of the
test. This string will be written to the test log file. Each test case
must be numbered consecutively starting with one.
The file specified in each test is submitted for printing using the
specified printing options. A log file is created called
/_v_a_r/_t_m_p/_t_e_s_t_i_p_r.<_p_r_i_n_t_e_r_N_a_m_e>._l_o_g. This log file contains general
information about the printer being tested and its host environment. The
log also contains a detailed list of all tests performed and their
corresponding spooling system print job IDs. A complete test record
consists of the printer output, the corresponding log file and the
/_v_a_r/_s_p_o_o_l/_l_p/_l_o_g file.
The _t_e_s_t_i_p_r program provides the following command line options.
----cccc className[,className,...]
By default, _t_e_s_t_i_p_r runs all tests for all test classes.
The ----cccc option provides the ability to run specific test
classes. Multiple class names may be specified by
separating each with a comma and no whitespace. The
keyword aaaallllllll may be specified to indicate that all test
classes should be run; this is the default. To obtain a
list of available classes use the ----hhhh option.
----tttt #[,#,...] By default, _t_e_s_t_i_p_r runs all tests in a given class. The
----tttt option may be used to run specific tests within a
class. Multiple test numbers may be specified by
separating with a comma and no whitespace. The test
numbers are applied to all test classes. If a given class
does not contain a test, a warning is printed to the log
file and testing continues.
----pppp classPath By default, _t_e_s_t_i_p_r looks for test class configuration
files in the directory /_u_s_r/_i_m_p_r_e_s_s_a_r_i_o/_t_e_s_t_s/_p_r_i_n_t. The
----pppp option allows a different configuration directory to be
specified. A configuration directory can also be specified
using the IIIIPPPPRRRR____CCCCLLLLAAAASSSSSSSS____PPPPAAAATTTTHHHH environment variable. The ----pppp
option takes precedence over the environment variable.
----llll logPath By default, the _t_e_s_t_i_p_r program creates the log file
/_v_a_r/_t_m_p/_t_e_s_t_i_p_r.<_p_r_i_n_t_e_r_N_a_m_e>._l_o_g. The ----llll option allows a
different log file pathname to be specified. Note that
the logPath specifies both the name and directory of the
log file.
PPPPaaaaggggeeee 2222
TTTTEEEESSSSTTTTIIIIPPPPRRRR((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo TTTTEEEESSSSTTTTIIIIPPPPRRRR((((1111))))
----dddd The _t_e_s_t_i_p_r program produces a large amount of printer
output. The ----dddd option allows the program to be run in a
dry-run mode. In dry-run mode no print jobs are submitted
but all other program operations are performed including
the creation of a log file. In dry-run mode a check is
also done to ensure that each test file can be read.
----hhhh This option provides help for running the _t_e_s_t_i_p_r program.
If the ----hhhh option is specified, the program displays a list
of all printers available on the system and all available
test classes.
WWWWAAAARRRRNNNNIIIINNNNGGGG
By default the _t_e_s_t_i_p_r program produces a large quantity of printed
output. A large portion of this output is text. Use the ----cccc and ----tttt options
to reduce the amount of output when running _t_e_s_t_i_p_r on printers that
primarily print image files.
FFFFIIIILLLLEEEESSSS
/usr/impressario/tests/print/testipr Program file.
/usr/impressario/tests/print Default configuration file
directory.
/usr/impressario/tests/data Test file directory.
/var/tmp/testipr.<printerName>.log Default log file.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
testiconfig(1), impressario(1), _X _W_i_n_d_o_w _S_y_s_t_e_m by Gettys and Scheifler
PPPPaaaaggggeeee 3333